﻿using System;
using System.Collections.Generic;
using System.Text;
using Tauren.Business.DLL.Base;
using Tauren.Business.Entity.Model;
using Tauren.Business.Entity.Output;

/// <summary>
/// 日志操作
/// </summary>
namespace Tauren.Business.DLL.System_Log
{
    public interface ISystemLogBusiness
    {
        /// <summary>
        /// 新增 
        /// </summary>
        /// <param name="tenant"></param>
        /// <returns></returns>
        long Add(Entity.Model.SystemLog model);

        /// <summary>
        /// 获取所有的日志
        /// </summary>
        /// <param name="autoId"></param>
        /// <returns></returns>
        List<SystemLog> All();
        /// <summary>
        /// 分页获取日志信息
        /// </summary>
        /// <param name="queryModel"></param>
        /// <param name="Total"></param>
        /// <returns></returns>
        List<SystemLogTable> Pages(Entity.Global.QueryModel queryModel, out long Total);
        SystemLog GetLog(long id);
    }
}
